package com.cm.behavior.chainofresponsibilitypattern;

/**
 * @author cm.g
 * @date 2023/8/18 17:32
 */
public class ConcreteHandler3 extends Handler {
    @Override
    public void handle(Object request) {
        System.out.println("concrete handler 3 execute request. request: " + request);
        if (getNext() != null) {
            getNext().handle(request);
        }
    }

}
